//
//  TabBarButton.m
//  联动！！！！
//
//  Created by Eternity on 16/3/29.
//  Copyright © 2016年 Eternity. All rights reserved.
//

#import "TabBarButton.h"

@implementation TabBarButton


- (CGRect)titleRectForContentRect:(CGRect)contentRect {

return  CGRectMake(contentRect.size.width / 2 - 25,contentRect.size.height - 20, 50, 20);

}

- (CGRect)imageRectForContentRect:(CGRect)contentRect {


return CGRectMake(contentRect.size.width / 2 - 15, contentRect.origin.y,30, contentRect.size.height - 20);

}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
